package com.zhida.smartcontrol.common.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

public class LampSwitchBean implements Parcelable {
    // 本地增加
    private boolean check; //全选
    private boolean checkMain; //单选主灯
    private boolean checkAux; //单选辅灯
    // 本地增加
    private String address;
    private String brightNess;
    private String checkedWaysString;
    private int childrenCount;
    private String cjStatus;
    private String clockUpdateTime;
    private String code;
    private String controlId;
    private String controlType;
    private String controlTypeTxt;
    private String createBy;
    private String createDate;
    private String cyStatus;
    private String delFlag;
    private String devicePic;
    private String dwStatus;
    private String endDate;
    private String equipmentCode;
    private String eventTime;
    private String fromZdCloud;
    private String gqStatus;
    private String groupId;
    private String groupName;
    private String hasChildren;
    private String id;
    private String imei;
    private String isOpen;
    private String keywords;
    private String lat;
    private String ldStatus;
    private String lng;
    private String managers;
    private String manufacturer;
    private String markerFlag;
    private String name;
    private int num;
    private String onlineStatus;
    private String pcode;
    private String pid;
    private int power1;
    private int power2;
    private int power3;
    private String projectBaseId;
    private String projectName;
    private String qmStatus;
    private String queryDay;
    private String queryMonth;
    private String queryType;
    private String queryYear;
    private String returnValue;
    private String returnValueTxt;
    private String searchUse;
    private String shortAddress;
    private String startDate;
    private String status;
    private String statusText;
    private String switchType;
    private String switchTypeTxt;
    private String tacticsId;
    private String tacticsIdPlc;
    private int totalPower;
    private String updateBy;
    private String updateDate;
    private String updateStatus;
    private String updateTime;
    private String updateTimeFlag;
    private int warnCount;
    private String ydStatus;
    private String yxStatus;
    private String zqStatus;
    private List<?> childSwitchList;
    private List<?> nbChildSwitchList;
    private List<?> nbDbChildSwitchList;
    private List<?> plcChildSwitchList;
    private List<?> zigBeeChildSwitchList;

    public LampSwitchBean() {
    }

    protected LampSwitchBean(Parcel in) {
        check = in.readByte() != 0;
        checkMain = in.readByte() != 0;
        checkAux = in.readByte() != 0;
        address = in.readString();
        brightNess = in.readString();
        checkedWaysString = in.readString();
        childrenCount = in.readInt();
        cjStatus = in.readString();
        clockUpdateTime = in.readString();
        code = in.readString();
        controlId = in.readString();
        controlType = in.readString();
        controlTypeTxt = in.readString();
        createBy = in.readString();
        createDate = in.readString();
        cyStatus = in.readString();
        delFlag = in.readString();
        devicePic = in.readString();
        dwStatus = in.readString();
        endDate = in.readString();
        equipmentCode = in.readString();
        eventTime = in.readString();
        fromZdCloud = in.readString();
        gqStatus = in.readString();
        groupId = in.readString();
        groupName = in.readString();
        hasChildren = in.readString();
        id = in.readString();
        imei = in.readString();
        isOpen = in.readString();
        keywords = in.readString();
        lat = in.readString();
        ldStatus = in.readString();
        lng = in.readString();
        managers = in.readString();
        manufacturer = in.readString();
        markerFlag = in.readString();
        name = in.readString();
        num = in.readInt();
        onlineStatus = in.readString();
        pcode = in.readString();
        pid = in.readString();
        power1 = in.readInt();
        power2 = in.readInt();
        power3 = in.readInt();
        projectBaseId = in.readString();
        projectName = in.readString();
        qmStatus = in.readString();
        queryDay = in.readString();
        queryMonth = in.readString();
        queryType = in.readString();
        queryYear = in.readString();
        returnValue = in.readString();
        returnValueTxt = in.readString();
        searchUse = in.readString();
        shortAddress = in.readString();
        startDate = in.readString();
        status = in.readString();
        statusText = in.readString();
        switchType = in.readString();
        switchTypeTxt = in.readString();
        tacticsId = in.readString();
        tacticsIdPlc = in.readString();
        totalPower = in.readInt();
        updateBy = in.readString();
        updateDate = in.readString();
        updateStatus = in.readString();
        updateTime = in.readString();
        updateTimeFlag = in.readString();
        warnCount = in.readInt();
        ydStatus = in.readString();
        yxStatus = in.readString();
        zqStatus = in.readString();
    }

    public static final Creator<LampSwitchBean> CREATOR = new Creator<LampSwitchBean>() {
        @Override
        public LampSwitchBean createFromParcel(Parcel in) {
            return new LampSwitchBean(in);
        }

        @Override
        public LampSwitchBean[] newArray(int size) {
            return new LampSwitchBean[size];
        }
    };

    public boolean isCheck() {
        return check;
    }

    public void setCheck(boolean check) {
        this.check = check;
    }

    public boolean isCheckMain() {
        return checkMain;
    }

    public void setCheckMain(boolean checkMain) {
        this.checkMain = checkMain;
    }

    public boolean isCheckAux() {
        return checkAux;
    }

    public void setCheckAux(boolean checkAux) {
        this.checkAux = checkAux;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBrightNess() {
        return brightNess;
    }

    public void setBrightNess(String brightNess) {
        this.brightNess = brightNess;
    }

    public String getCheckedWaysString() {
        return checkedWaysString;
    }

    public void setCheckedWaysString(String checkedWaysString) {
        this.checkedWaysString = checkedWaysString;
    }

    public int getChildrenCount() {
        return childrenCount;
    }

    public void setChildrenCount(int childrenCount) {
        this.childrenCount = childrenCount;
    }

    public String getCjStatus() {
        return cjStatus;
    }

    public void setCjStatus(String cjStatus) {
        this.cjStatus = cjStatus;
    }

    public String getClockUpdateTime() {
        return clockUpdateTime;
    }

    public void setClockUpdateTime(String clockUpdateTime) {
        this.clockUpdateTime = clockUpdateTime;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getControlId() {
        return controlId;
    }

    public void setControlId(String controlId) {
        this.controlId = controlId;
    }

    public String getControlType() {
        return controlType;
    }

    public void setControlType(String controlType) {
        this.controlType = controlType;
    }

    public String getControlTypeTxt() {
        return controlTypeTxt;
    }

    public void setControlTypeTxt(String controlTypeTxt) {
        this.controlTypeTxt = controlTypeTxt;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getCyStatus() {
        return cyStatus;
    }

    public void setCyStatus(String cyStatus) {
        this.cyStatus = cyStatus;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDevicePic() {
        return devicePic;
    }

    public void setDevicePic(String devicePic) {
        this.devicePic = devicePic;
    }

    public String getDwStatus() {
        return dwStatus;
    }

    public void setDwStatus(String dwStatus) {
        this.dwStatus = dwStatus;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getEquipmentCode() {
        return equipmentCode;
    }

    public void setEquipmentCode(String equipmentCode) {
        this.equipmentCode = equipmentCode;
    }

    public String getEventTime() {
        return eventTime;
    }

    public void setEventTime(String eventTime) {
        this.eventTime = eventTime;
    }

    public String getFromZdCloud() {
        return fromZdCloud;
    }

    public void setFromZdCloud(String fromZdCloud) {
        this.fromZdCloud = fromZdCloud;
    }

    public String getGqStatus() {
        return gqStatus;
    }

    public void setGqStatus(String gqStatus) {
        this.gqStatus = gqStatus;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getHasChildren() {
        return hasChildren;
    }

    public void setHasChildren(String hasChildren) {
        this.hasChildren = hasChildren;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(String isOpen) {
        this.isOpen = isOpen;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLdStatus() {
        return ldStatus;
    }

    public void setLdStatus(String ldStatus) {
        this.ldStatus = ldStatus;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getManagers() {
        return managers;
    }

    public void setManagers(String managers) {
        this.managers = managers;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getMarkerFlag() {
        return markerFlag;
    }

    public void setMarkerFlag(String markerFlag) {
        this.markerFlag = markerFlag;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getOnlineStatus() {
        return onlineStatus;
    }

    public void setOnlineStatus(String onlineStatus) {
        this.onlineStatus = onlineStatus;
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public int getPower1() {
        return power1;
    }

    public void setPower1(int power1) {
        this.power1 = power1;
    }

    public int getPower2() {
        return power2;
    }

    public void setPower2(int power2) {
        this.power2 = power2;
    }

    public int getPower3() {
        return power3;
    }

    public void setPower3(int power3) {
        this.power3 = power3;
    }

    public String getProjectBaseId() {
        return projectBaseId;
    }

    public void setProjectBaseId(String projectBaseId) {
        this.projectBaseId = projectBaseId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getQmStatus() {
        return qmStatus;
    }

    public void setQmStatus(String qmStatus) {
        this.qmStatus = qmStatus;
    }

    public String getQueryDay() {
        return queryDay;
    }

    public void setQueryDay(String queryDay) {
        this.queryDay = queryDay;
    }

    public String getQueryMonth() {
        return queryMonth;
    }

    public void setQueryMonth(String queryMonth) {
        this.queryMonth = queryMonth;
    }

    public String getQueryType() {
        return queryType;
    }

    public void setQueryType(String queryType) {
        this.queryType = queryType;
    }

    public String getQueryYear() {
        return queryYear;
    }

    public void setQueryYear(String queryYear) {
        this.queryYear = queryYear;
    }

    public String getReturnValue() {
        return returnValue;
    }

    public void setReturnValue(String returnValue) {
        this.returnValue = returnValue;
    }

    public String getReturnValueTxt() {
        return returnValueTxt;
    }

    public void setReturnValueTxt(String returnValueTxt) {
        this.returnValueTxt = returnValueTxt;
    }

    public String getSearchUse() {
        return searchUse;
    }

    public void setSearchUse(String searchUse) {
        this.searchUse = searchUse;
    }

    public String getShortAddress() {
        return shortAddress;
    }

    public void setShortAddress(String shortAddress) {
        this.shortAddress = shortAddress;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatusText() {
        return statusText;
    }

    public void setStatusText(String statusText) {
        this.statusText = statusText;
    }

    public String getSwitchType() {
        return switchType;
    }

    public void setSwitchType(String switchType) {
        this.switchType = switchType;
    }

    public String getSwitchTypeTxt() {
        return switchTypeTxt;
    }

    public void setSwitchTypeTxt(String switchTypeTxt) {
        this.switchTypeTxt = switchTypeTxt;
    }

    public String getTacticsId() {
        return tacticsId;
    }

    public void setTacticsId(String tacticsId) {
        this.tacticsId = tacticsId;
    }

    public String getTacticsIdPlc() {
        return tacticsIdPlc;
    }

    public void setTacticsIdPlc(String tacticsIdPlc) {
        this.tacticsIdPlc = tacticsIdPlc;
    }

    public int getTotalPower() {
        return totalPower;
    }

    public void setTotalPower(int totalPower) {
        this.totalPower = totalPower;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    public String getUpdateStatus() {
        return updateStatus;
    }

    public void setUpdateStatus(String updateStatus) {
        this.updateStatus = updateStatus;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateTimeFlag() {
        return updateTimeFlag;
    }

    public void setUpdateTimeFlag(String updateTimeFlag) {
        this.updateTimeFlag = updateTimeFlag;
    }

    public int getWarnCount() {
        return warnCount;
    }

    public void setWarnCount(int warnCount) {
        this.warnCount = warnCount;
    }

    public String getYdStatus() {
        return ydStatus;
    }

    public void setYdStatus(String ydStatus) {
        this.ydStatus = ydStatus;
    }

    public String getYxStatus() {
        return yxStatus;
    }

    public void setYxStatus(String yxStatus) {
        this.yxStatus = yxStatus;
    }

    public String getZqStatus() {
        return zqStatus;
    }

    public void setZqStatus(String zqStatus) {
        this.zqStatus = zqStatus;
    }

    public List<?> getChildSwitchList() {
        return childSwitchList;
    }

    public void setChildSwitchList(List<?> childSwitchList) {
        this.childSwitchList = childSwitchList;
    }

    public List<?> getNbChildSwitchList() {
        return nbChildSwitchList;
    }

    public void setNbChildSwitchList(List<?> nbChildSwitchList) {
        this.nbChildSwitchList = nbChildSwitchList;
    }

    public List<?> getNbDbChildSwitchList() {
        return nbDbChildSwitchList;
    }

    public void setNbDbChildSwitchList(List<?> nbDbChildSwitchList) {
        this.nbDbChildSwitchList = nbDbChildSwitchList;
    }

    public List<?> getPlcChildSwitchList() {
        return plcChildSwitchList;
    }

    public void setPlcChildSwitchList(List<?> plcChildSwitchList) {
        this.plcChildSwitchList = plcChildSwitchList;
    }

    public List<?> getZigBeeChildSwitchList() {
        return zigBeeChildSwitchList;
    }

    public void setZigBeeChildSwitchList(List<?> zigBeeChildSwitchList) {
        this.zigBeeChildSwitchList = zigBeeChildSwitchList;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeByte((byte) (check ? 1 : 0));
        dest.writeByte((byte) (checkMain ? 1 : 0));
        dest.writeByte((byte) (checkAux ? 1 : 0));
        dest.writeString(address);
        dest.writeString(brightNess);
        dest.writeString(checkedWaysString);
        dest.writeInt(childrenCount);
        dest.writeString(cjStatus);
        dest.writeString(clockUpdateTime);
        dest.writeString(code);
        dest.writeString(controlId);
        dest.writeString(controlType);
        dest.writeString(controlTypeTxt);
        dest.writeString(createBy);
        dest.writeString(createDate);
        dest.writeString(cyStatus);
        dest.writeString(delFlag);
        dest.writeString(devicePic);
        dest.writeString(dwStatus);
        dest.writeString(endDate);
        dest.writeString(equipmentCode);
        dest.writeString(eventTime);
        dest.writeString(fromZdCloud);
        dest.writeString(gqStatus);
        dest.writeString(groupId);
        dest.writeString(groupName);
        dest.writeString(hasChildren);
        dest.writeString(id);
        dest.writeString(imei);
        dest.writeString(isOpen);
        dest.writeString(keywords);
        dest.writeString(lat);
        dest.writeString(ldStatus);
        dest.writeString(lng);
        dest.writeString(managers);
        dest.writeString(manufacturer);
        dest.writeString(markerFlag);
        dest.writeString(name);
        dest.writeInt(num);
        dest.writeString(onlineStatus);
        dest.writeString(pcode);
        dest.writeString(pid);
        dest.writeInt(power1);
        dest.writeInt(power2);
        dest.writeInt(power3);
        dest.writeString(projectBaseId);
        dest.writeString(projectName);
        dest.writeString(qmStatus);
        dest.writeString(queryDay);
        dest.writeString(queryMonth);
        dest.writeString(queryType);
        dest.writeString(queryYear);
        dest.writeString(returnValue);
        dest.writeString(returnValueTxt);
        dest.writeString(searchUse);
        dest.writeString(shortAddress);
        dest.writeString(startDate);
        dest.writeString(status);
        dest.writeString(statusText);
        dest.writeString(switchType);
        dest.writeString(switchTypeTxt);
        dest.writeString(tacticsId);
        dest.writeString(tacticsIdPlc);
        dest.writeInt(totalPower);
        dest.writeString(updateBy);
        dest.writeString(updateDate);
        dest.writeString(updateStatus);
        dest.writeString(updateTime);
        dest.writeString(updateTimeFlag);
        dest.writeInt(warnCount);
        dest.writeString(ydStatus);
        dest.writeString(yxStatus);
        dest.writeString(zqStatus);
    }
}
